package com.sinodata.bsm.cicp.collector.emc;

import java.util.Date;

public class Event {
    private String sid;
    private String repDir;
    private String source;
    private String category;
    private String device;
    private EventSeverity severity;
    private String numCode;
    private String eventCode;
    private String desc;
    private Date date;

    public String getSid() {
        return sid;
    }

    public void setSid(String sid) {
        this.sid = sid;
    }

    public String getRepDir() {
        return repDir;
    }

    public void setRepDir(String repDir) {
        this.repDir = repDir;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getDevice() {
        return device;
    }

    public void setDevice(String device) {
        this.device = device;
    }

    public EventSeverity getSeverity() {
        return severity;
    }

    public void setSeverity(EventSeverity severity) {
        this.severity = severity;
    }

    public String getNumCode() {
        return numCode;
    }

    public void setNumCode(String numCode) {
        this.numCode = numCode;
    }

    public String getEventCode() {
        return eventCode;
    }

    public void setEventCode(String eventCode) {
        this.eventCode = eventCode;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "Event [sid=" + sid + ", repDir=" + repDir + ", source=" + source + ", category=" + category + ", device=" + device + ", severity=" + severity + ", numCode=" + numCode + ", eventCode=" + eventCode + ", desc=" + desc + ", date=" + date + "]";
    }

}
